package 享元模式;

public class main {
    public static void main(String[] args) {
        Memory memory = MemoryFactory.geyMemory(32);

        MemoryFactory.releaseMemory(memory.getId());

        MemoryFactory.geyMemory(32);
    }
}
